import { RootStore } from "./store";
import Mobx from "./Mobx";
import React from "react";

const rootStore = new RootStore();
const { Provider } = React.createContext(rootStore);

const app = () => {
  return (
    <Provider value={rootStore}>
      <Mobx />
    </Provider>
  );
};

export default app;
